package com.itheima.demo;

public class test_3 {
    public static void main(String[] args) {
        Person p3=new Person("张三",12);
        Person p4=new Person("李四",12);
        String s = p3.toString();
        String s1 = p4.toString();
        boolean b = s.equals(s1);
        System.out.println(b);



    }
}
